﻿package core.ui.controls
{
    import flash.text.*;

    public class AlertDialog extends Dialog
    {

        public function AlertDialog(param1:Tuyitu, param2:String)
        {
            super(param1, "rm_alert", 300, 130, true);
            var _loc_3:* = new TextField();
            _loc_3.defaultTextFormat = new TextFormat("Verdana, Helvetica, San-serif", AppState.TextSize, 0);
            _loc_3.height = 65;
            _loc_3.width = 280;
            _loc_3.text = U.RM(param2);
            _loc_3.multiline = true;
            _loc_3.wordWrap = true;
            _loc_3.selectable = true;
            _loc_3.x = 10;
            _loc_3.y = 24;
            addChild(_loc_3);
            cancel.visible = false;
            ok.x = 219;
            return;
        }// end function

    }
}
